package main

import (
	"fmt"
)

func main() {
	a := 5
	b := 1
	fmt.Println(a, b)
	a, b = b, a
	fmt.Println(a, b)
	modify(a)
	fmt.Println(a)
	modify1(&a)
	fmt.Println(a)

}

func modify(a int) {
	a = 10
}

func modify1(a *int) {
	*a = 10
}
